package tech.wetech.admin3.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class WxAuthConfig {
  public static String appId;
  public static String appSecret;

  @Value("${wxpay.appId}")
  public void setAppId(String appId) {
    WxAuthConfig.appId = appId;
  }

  @Value("${wxpay.appSecret}")
  public void setAppSecret(String appSecret) {
    WxAuthConfig.appSecret = appSecret;
  }

}
